package App.Model.Project;

import io.swagger.annotations.ApiModelProperty;
import org.bouncycastle.cms.PasswordRecipientId;

import java.util.List;

/**
 * Created by xw on 2018/11/26.
 */
//委托人
public class ProjectClient {

    private String recid;

    //从客户端传来的，标识委托人的id
    @ApiModelProperty(value = "从客户端传来的，标识委托人的id",required = true)
    private String clientid;

    //身份id
    @ApiModelProperty(value = "身份id",required = true)
    private String titleid;

    //身份
    @ApiModelProperty(value = "身份",required = true)
    private String title;

    //名称
    @ApiModelProperty(value = "名称",required = true)
    private String name;

    //联系人
    @ApiModelProperty(value = "联系人",required = true)
    private String contact;

    //联系电话
    @ApiModelProperty(value = "联系电话",required = true)
    private String phone;

    //邮箱
    @ApiModelProperty(value = "邮箱",required = true)
    private String mail;

    //委托人类型(自然人:1,非自然人:0)
    @ApiModelProperty(value = "委托人类型(自然人:1,非自然人:0)",required = true)
    private int rectype;

    //委托人，对方当事人
    @ApiModelProperty(value = "委托人，对方当事人")
    private int persontype;

    //委托人对应的成员
    @ApiModelProperty(value = "委托人对应的成员")
    private List<ProjectMember> members;

    //是否是新增的
    @ApiModelProperty(value = "是否是新增的")
    private boolean isnew;

    public String getRecid() {
        return recid;
    }

    public void setRecid(String recid) {
        this.recid = recid;
    }

    public String getClientid() {
        return clientid;
    }

    public void setClientid(String clientid) {
        this.clientid = clientid;
    }

    public int getPersontype() {
        return persontype;
    }

    public void setPersontype(int persontype) {
        this.persontype = persontype;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public int getRectype() {
        return rectype;
    }

    public void setRectype(int rectype) {
        this.rectype = rectype;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<ProjectMember> getMembers() {
        return members;
    }

    public void setMembers(List<ProjectMember> members) {
        this.members = members;
    }

    public String getTitleid() {
        return titleid;
    }

    public void setTitleid(String titleid) {
        this.titleid = titleid;
    }

    public boolean getIsnew() {
        return isnew;
    }

    public void setIsnew(boolean isnew) {
        this.isnew = isnew;
    }
}
